package com.sinosoft.perfect.system._theme.service;

import java.sql.SQLException;
import java.util.List;

import com.sinosoft.perfect.system._.po.TTheme;

public interface IThemeService {

	/**
	 * 插入主题
	 */
	public String insertByTTheme(TTheme ttheme) throws SQLException;

	/**
	 * 查询主题
	 */
	public List<TTheme> selectByTTheme(TTheme ttheme) throws SQLException;

	/**
	 * 修改主题
	 */
	public void updateTThemeByPK(TTheme ttheme) throws SQLException;

	/**
	 * 删除主题
	 */
	public void deleteTThemeByPK(TTheme ttheme) throws SQLException;
	
	public void updateTThemeDefaultThemeAndAnotherNormal(TTheme ttheme) throws SQLException;
}
